package com.richpencil.utils;

public class BooleanHelper {

    public static int getIntValue(boolean value)
    {
        if(value==true)
            return 1;
        else
            return 0;
    }
    public static int getIntValue(String value)
    {
        if(value.equals("true"))
            return 1;
        else
            return 0;
    }
}
